package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class ElasticServerUpdateParameter {

    private Integer receiverId;
    @ApiModelProperty(value = "服务名")
    private String serviceName;
    @ApiModelProperty(value = "服务描述")
    private String description;
    @NotNull(message = "商铺Id不能为空")
    @Min(value=0,message = "参数非法")
    @ApiModelProperty(value="商铺Id",example = "0")
    private Integer shopId;
}
